package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerPunishment;
import com.woniuxy.common.entity.ManagerPunishmentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerPunishmentMapper {
    long countByExample(ManagerPunishmentExample example);

    int deleteByExample(ManagerPunishmentExample example);

    int deleteByPrimaryKey(String punId);

    int insert(ManagerPunishment record);

    int insertSelective(ManagerPunishment record);

    List<ManagerPunishment> selectByExample(ManagerPunishmentExample example);

    ManagerPunishment selectByPrimaryKey(String punId);

    int updateByExampleSelective(@Param("record") ManagerPunishment record, @Param("example") ManagerPunishmentExample example);

    int updateByExample(@Param("record") ManagerPunishment record, @Param("example") ManagerPunishmentExample example);

    int updateByPrimaryKeySelective(ManagerPunishment record);

    int updateByPrimaryKey(ManagerPunishment record);
}